package com.etc.单例模式.饿汉式;

/**
 * @Author 静静
 * @Description
 * @Date 2021/3/7  15:48
 **/
public class Mouse {

    private static Mouse instance = new Mouse();

    private Mouse(){
    }

    public static Mouse getInstance(){
        return instance;
    }

    public  void MouseInfo(){
        System.out.println("我怕猫");
    }
}
